export const widgetVideo =  {
    code: 'widget-video',
    type: 'html',
    label: '视频',
    icon: 'video-camera',
    preview: require('./preview/widget-video.png'),
    options: {
      // 配置
      setup: [
        {
          type: 'a-input-text',
          label: '图层名称',
          name: 'layerName',
          required: false,
          placeholder: '',
          value: '视频',
        },
        // {
        //   type: 'a-select',
        //   label: '视频来源',
        //   name: 'source',
        //   required: false,
        //   placeholder: '',
        //   selectOptions: [
        //     {code: 'url', name: '网络地址'},
        //     {code: 'upload', name: '本地上传'},
        //   ],
        //   value: 'url'
        // },
        // {
        //   type: 'a-input-text',
        //   label: '网络地址',
        //   name: 'videoAdress',
        //   required: false,
        //   placeholder: '',
        //   value: 'https://www.w3school.com.cn/i/movie.ogg',
        //   relactiveDom: 'source',
        //   relactiveDomValue: 'url'
        // },
        {
          type: 'custom-upload',
          label: '本地上传',
          name: 'videoAdress',
          required: false,
          placeholder: '',
          value: 'https://www.w3school.com.cn/i/movie.ogg',
          // relactiveDom: 'source',
          // relactiveDomValue: 'upload'
        },
      ],
      // 数据
      data: [],
      // 坐标
      position: [
        {
          type: 'a-input-number',
          label: '横坐标',
          name: 'left',
          required: false,
          placeholder: '',
          value: 0,
        },
        {
          type: 'a-input-number',
          label: '纵坐标',
          name: 'top',
          required: false,
          placeholder: '',
          value: 0,
        },
        {
          type: 'a-input-number',
          label: '深度',
          name: 'zIndex',
          required: false,
          placeholder: '',
          value: 0,
        },
        {
          type: 'a-input-number',
          label: '宽度',
          name: 'width',
          required: false,
          placeholder: '该容器在1920px大屏中的宽度',
          value: 600,
        },
        {
          type: 'a-input-number',
          label: '高度',
          name: 'height',
          required: false,
          placeholder: '该容器在1080px大屏中的高度',
          value: 300
        },
      ],
    }
  }